package csel.view;
import java.awt.Point;

import csel.model.Location;
/**
 * Provides the abstraction to convert logical
 * to screen coordinates
 * @author Ryan
 *
 */
public class Positioner 
{
	private int tileSize = 40;
	public Point convertLocation(Location ref, Location l){
		return new Point(l.getX()*tileSize-ref.getX()*tileSize, l.getY()*tileSize-ref.getY()*tileSize);
	}
}
